# Contributor: Carbon Jiao <http://archlive-pkg.googlecode.com>
pkgname=ShowLyric
pkgver=0.3.11
pkgrel=1
pkgdesc="歌词显示插件"
arch=('i686'  'x86_64')
url="http://forum.ubuntu.org.cn/viewtopic.php?f=74&t=94276"
license=('custom')
depends=('audacious' 'python')
install=()
source=(ShowLyric.tar.gz)
md5sums=()

build() {
  cd "$srcdir/$pkgname"
  install -Dm755 Release/libau_ShowLyric.so "$pkgdir/usr/lib/audacious/General/au_ShowLyric.so"
  install -Dm755 tools/TTDownLoadLyric.py "$pkgdir/usr/share/$pkgname/TTDownLoadLyric.py"
  install -Dm755 tools/ttplayer "$pkgdir/usr/share/$pkgname/ttplayer"
  install -Dm755 UI/EditLyricDlg.glade "$pkgdir/usr/share/$pkgname/EditLyricDlg.glade"
  install -Dm755 UI/SelLyricDlg.glade "$pkgdir/usr/share/$pkgname/SelLyricDlg.glade"
  install -Dm755 UI/ShowLyricUI.glade "$pkgdir/usr/share/$pkgname/ShowLyricUI.glade"
}
